/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package logisticearappclient;

import java.util.ArrayList;
import javax.ejb.EJB;
import javax.enterprise.inject.spi.Producer;
import javax.jms.JMSException;
import plains.CustomerPlain;
import services.BusinessInterface;
import services.MessageInterface;

/**
 *
 * @author ceu
 */
public class Main {

    @EJB
    static BusinessInterface businessInterface;
    @EJB
    static MessageInterface messageInterface;
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws JMSException {
        // TODO code application logic here
        System.out.println("empezamos...");
        
        
        messageInterface.sendPriceMessageToLogisticQueue();
        messageInterface.sendStatusMessageToLogisticQueue();
        messageInterface.sendShipmentMessageToLogisticQueue();
        
        //CustomerPlain customer = new CustomerPlain(1, "paco", "123", "123");
        //businessInterface.createCustomer(customer);
        
       //businessInterface.createStatus();
       //businessInterface.createTypesPackages();
        
    
        System.out.println("acabamos...");
 
        
    }
}
